-- GENERATED SPELL FOR [Dust Devil] --


function spell0_832(pUnit, Event) --@Gust of Wind,Self--
pUnit:FullCastSpellOnTarget(6982,pUnit)
pUnit:RegisterEvent('Sorts_832', 6000, 1)
end

function Sorts_832(pUnit, Event)
local choix_sorts_832 = math.random(0, 0)
if choix_sorts_832 == 0 then
pUnit:RegisterEvent('spell0_832', 1, 1)
end
end

function mob832_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_832', math.random(1500, 3000), 1)
end

function mob832_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob832_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob832_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(832, 1, 'mob832_Action')
RegisterUnitEvent(832, 2, 'mob832_Leave')
RegisterUnitEvent(832, 3, 'mob832_Kill')
RegisterUnitEvent(832, 4, 'mob832_Die')
